package cn.iocoder.yudao.module.fm.controller.admin.bridge.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

/**
 * 桥梁 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class BridgeBaseVO {

    @Schema(description = "孔号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "孔号不能为空")
    private String holeNumber;

    @Schema(description = "二维码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "二维码不能为空")
    private String qrCode;

    @Schema(description = "结构型式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "结构型式不能为空")
    private String typeOfStructure;

    @Schema(description = "长度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "长度不能为空")
    private String length;

    @Schema(description = "班组长", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "班组长不能为空")
    private String teamLeader;

    @Schema(description = "现场技术负责人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "现场技术负责人不能为空")
    private String fieldTechnicalLeader;

    @Schema(description = "工点负责人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "工点负责人不能为空")
    private String headOfSite;

    @Schema(description = "质检员", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "质检员不能为空")
    private String qualityInspector;

    @Schema(description = "监理工程师", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "监理工程师不能为空")
    private String engineerOfSupervision;

}
